home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
pasprog.EXE
/
NOTE2FRQ.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1996-06-20
|
287 b
|
20 lines
unit frq;
interface
function note2freq(note:byte):real;
implementation
function note2freq(note:byte):real;
var
nr : real;
fr : real;
begin
nr:=note;
fr:=440*(exp(((nr-57)/12)*ln(2)));
note2freq:=fr;
end;
end.